package org.javaboy.meeting.model;

import java.util.List;

public class Pager<T> {
    private int pageCount; //总页数
    private int pageStart; //当前页开始项
    private List<T> list; //当前页的数据
    private int pageLastStart;//最后一页开始项
    private int previousStart;//上一页的开始项
    private int nextStart;//下一页的开始项
    private int recordCount;//总记录数

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageStart() {
        return pageStart;
    }

    public void setPageStart(int pageStart) {
        this.pageStart = pageStart;
    }

    public List<T> getList() {
        return list;
    }

    public void setList(List<T> list) {
        this.list = list;
    }

    public int getPageLastStart() {
        return pageLastStart;
    }

    public void setPageLastStart(int pageLastStart) {
        this.pageLastStart = pageLastStart;
    }

    public int getPreviousStart() {
        return previousStart;
    }

    public void setPreviousStart(int previousStart) {
        this.previousStart = previousStart;
    }

    public int getNextStart() {
        return nextStart;
    }

    public void setNextStart(int nextStart) {
        this.nextStart = nextStart;
    }

    public int getRecordCount() {
        return recordCount;
    }

    public void setRecordCount(int recordCount) {
        this.recordCount = recordCount;
    }
}
